package org.wlc.demov1;

import java.util.Map;

/**
 * @author 王立朝
 * @date 2022/5/24
 * @description: 选择题
 */
public class ChoiceQuestion {
    /**
     * 题目
     */
    private String name;
    /**
     * 选项
     */
    private Map<String, String> options;
    /**
     * 答案
     */
    private String key;

    public ChoiceQuestion(String name, Map<String, String> options, String key) {
        this.name = name;
        this.options = options;
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<String, String> getOptions() {
        return options;
    }

    public void setOptions(Map<String, String> options) {
        this.options = options;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public ChoiceQuestion() {
    }
}
